package com.ruoyi.generator.InitRunner;

import com.ruoyi.generator.service.GenTableServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
@Slf4j
public class InitGenColumnRunner {

    @Autowired
    private GenTableServiceImpl genTableService;

    @PostConstruct
    public void resetGenColumnCache() {
        genTableService.resetGenColumnCache("");
    }
}
